export interface UserTableParams {
  current: number;
  groupIdList: number[];
  size: number;
}

export interface TableRecord {
  email: string;
  id: number;
  name: string;
  score: number;
  subscriptionUrn: string;
  topicUrn: string;
  totalStar: number;
}

export interface UserTableItem {
  current: number;
  pages: number;
  records: TableRecord[];
  size: number;
  total: number;
}

export interface EditParams {
  email: string;
  id: number;
  name: string;
}
export interface CreateParams {
  email: string;
  name: string;
  userId: number;
}

export interface DeleteParam {
  worksheetUserId: number;
}

export interface UserListItem {
  id: number;
  name: string;
}

export interface DetailUserListParam {
  groupId: number;
  name: string;
}
export interface DetailUserListItem {
  email: string;
  id: number;
  name: string;
  score: number;
  subscriptionUrn: string;
  topicUrn: string;
  totalStar: number;
}
